[INFO] fetching crate whisper 0.1.11...
[INFO] building whisper-0.1.11 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate whisper 0.1.11 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate whisper 0.1.11 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate whisper 0.1.11
[INFO] finished tweaking crates.io crate whisper 0.1.11
[INFO] tweaked toml for crates.io crate whisper 0.1.11 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38f29b7a4bd72fed4b50ced14499dfaa4f2c569d0daa275acfa1c3850ed530f8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "38f29b7a4bd72fed4b50ced14499dfaa4f2c569d0daa275acfa1c3850ed530f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38f29b7a4bd72fed4b50ced14499dfaa4f2c569d0daa275acfa1c3850ed530f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f29b7a4bd72fed4b50ced14499dfaa4f2c569d0daa275acfa1c3850ed530f8", kill_on_drop: false }`
[INFO] [stdout] 38f29b7a4bd72fed4b50ced14499dfaa4f2c569d0daa275acfa1c3850ed530f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0506518c72003c2702f9975d99720e986c5d948a9a5c0d3ce5227b3d9ed950c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d0506518c72003c2702f9975d99720e986c5d948a9a5c0d3ce5227b3d9ed950c", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling strsim v0.5.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling docopt v0.6.86
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling whisper v0.1.11 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `memmap::Protection`
[INFO] [stdout]  --> src/whisper/file/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use memmap::{ Mmap, Protection };
[INFO] [stdout]   |                     ^^^^^^^^^^ no `Protection` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync`
[INFO] [stdout]  --> src/whisper/file/header.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use memmap::MmapViewSync;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc`
[INFO] [stdout]   --> src/whisper/file/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | use self::libc::funcs::posix01::unistd::ftruncate;
[INFO] [stdout]    |                 ^^^^^ could not find `funcs` in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `memmap::MmapViewSync`
[INFO] [stdout]  --> src/whisper/file/archive.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use memmap::MmapViewSync;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no `MmapViewSync` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt`
[INFO] [stdout]  --> src/whisper/cache/mod.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::{ PathExt, DirBuilder };
[INFO] [stdout]   |                ^^^^^^^ no `PathExt` in `fs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `ftruncate` in this scope
[INFO] [stdout]   --> src/whisper/file/mod.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 ftruncate(raw_fd, size_needed as i64)
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use libc::ftruncate;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/whisper/file/archive.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 33 |         try!(write!(f, "Meta data:
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 |             try!(write!(f, "Archive {} info:
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 try!(write!(f, "{}:    {},          {}\n", points_index, point.0, point.1));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |         let mut opened_file = try!(OpenOptions::new().read(true).write(true).create(true).open(path));
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 |             try!( opened_file.write_u32::<BigEndian>( header.aggregation_type.to_u32() ));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 |             try!( opened_file.write_u32::<BigEndian>( header.max_retention ) );
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 |             try!( opened_file.write_f32::<BigEndian>( header.x_files_factor ) );
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/file/mod.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 |             try!( opened_file.write_u32::<BigEndian>( schema.retention_policies.len() as u32 ) );
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/whisper/file/mod.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 |             try!( opened_file.write_u32::<BigEndian>( archive_offset as u32 ) );
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/whisper/file/mod.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 |             try!( opened_file.write_u32::<BigEndian>( retention_policy.precision ) );
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/whisper/file/mod.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 |             try!( opened_file.write_u32::<BigEndian>( retention_policy.points()  ) );
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/whisper/point.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{ Write, Cursor };
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary braces around function argument
[INFO] [stdout]   --> src/whisper/schema/retention_policy.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let retention_matcher = regex::Regex::new({r"^(\d+)([smhdwy])?:(\d+)([smhdwy])?$"}).unwrap();
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/whisper/cache/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/cache/mod.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let cache_entry = try!( self.get(metric_rel_path) );
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/cache/mod.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     try!( DirBuilder::new().recursive(true).create( path_on_disk.parent().unwrap() ) );
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/whisper/cache/mod.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 try!( WhisperFile::new(&path_on_disk, &self.schema) )
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `open` found for struct `Mmap` in the current scope
[INFO] [stdout]    --> src/whisper/file/mod.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mmap = Mmap::open(&opened_file, Protection::ReadWrite ).unwrap();
[INFO] [stdout]     |                          ^^^^ function or associated item not found in `Mmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope
[INFO] [stdout]    --> src/whisper/file/mod.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let mmap = Mmap::open_path(path, Protection::ReadWrite).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ function or associated item not found in `Mmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_view_sync` found for struct `Mmap` in the current scope
[INFO] [stdout]    --> src/whisper/file/mod.rs:125:24
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mmap_view = mmap.into_view_sync();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^ method not found in `Mmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope
[INFO] [stdout]   --> src/whisper/schema/retention_policy.rs:63:37
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let precision_opt = regex_match.at(1);
[INFO] [stdout]    |                                     ^^ method not found in `regex::Captures<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope
[INFO] [stdout]   --> src/whisper/schema/retention_policy.rs:64:38
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let precision_mult = regex_match.at(2).unwrap_or("s");
[INFO] [stdout]    |                                      ^^ method not found in `regex::Captures<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope
[INFO] [stdout]   --> src/whisper/schema/retention_policy.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let retention_opt = regex_match.at(3);
[INFO] [stdout]    |                                     ^^ method not found in `regex::Captures<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope
[INFO] [stdout]   --> src/whisper/schema/retention_policy.rs:66:38
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let retention_mult = regex_match.at(4);
[INFO] [stdout]    |                                      ^^ method not found in `regex::Captures<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::lines_any`: use lines() instead now
[INFO] [stdout]   --> src/whisper/cache/named_point.rs:26:70
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let parsed_lines : Vec<Result<NamedPoint,String>> = datagram.lines_any().map(|x| NamedPoint::parse_line(x) ).collect();
[INFO] [stdout]    |                                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> src/whisper/file/mod.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt };
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReadBytesExt`
[INFO] [stdout]  --> src/whisper/file/header.rs:4:40
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, ReadBytesExt };
[INFO] [stdout]   |                                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]  --> src/whisper/schema/retention_policy.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ ByteOrder, BigEndian, WriteBytesExt };
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 22 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `whisper`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d0506518c72003c2702f9975d99720e986c5d948a9a5c0d3ce5227b3d9ed950c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0506518c72003c2702f9975d99720e986c5d948a9a5c0d3ce5227b3d9ed950c", kill_on_drop: false }`
[INFO] [stdout] d0506518c72003c2702f9975d99720e986c5d948a9a5c0d3ce5227b3d9ed950c
